package com.foundationmade.newbiz.business.foundation.domain;

// Generated 2013. 10. 22 ���� 2:45:08 by Hibernate Tools 4.0.0

import static javax.persistence.GenerationType.IDENTITY;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * Foundation generated by hbm2java
 */
@Entity
@Table(name = "foundation", catalog = "newbiz")
public class Foundation implements java.io.Serializable
{

	private long foundationId;
	private String businessType;
	private String foundationName;
	private String address;
	private String location;
	private String feature;
	private Integer pyung;
	private String grossFloor;
	private String floor;
	private String contractType;
	private String leasePeriod;
	private String foundingTime;
	private String dealingCause;
	private Integer leaseDeposit;
	private Integer facilitiesInvestment;
	private Integer premium;
	private Integer unionFee;
	private Integer supportFund;
	private Integer totalFee;
	private Integer monthlyRentalFee;
	private Integer commision;
	private Float serviceCharge;
	private String feeReferences;
	private Integer salesPerDay;
	private Integer salesPerMonth;
	private Integer employeeNumber;
	private Integer personnelExpenses;
	private Integer materialCost;
	private Integer netProfitPerMonth;
	private Integer seatingCapacity;
	private String peakTime;
	private String operatingHour;
	private String operatingMethod;
	private String businessDistrictZoneHistory;
	private String salesHistory;
	private String note;
	private Date generatedTimestamp;
	private long generatorId;
	private Date updatedTimestamp;
	private Long updatorId;

	public Foundation()
	{
	}

	public Foundation(long foundationId, String businessType,
			String foundationName, String address, Date generatedTimestamp,
			long generatorId)
	{
		this.foundationId = foundationId;
		this.businessType = businessType;
		this.foundationName = foundationName;
		this.address = address;
		this.generatedTimestamp = generatedTimestamp;
		this.generatorId = generatorId;
	}

	public Foundation(long foundationId, String businessType,
			String foundationName, String address, String location,
			String feature, Integer pyung, String grossFloor, String floor,
			String contractType, String leasePeriod, String foundingTime,
			String dealingCause, Integer leaseDeposit,
			Integer facilitiesInvestment, Integer unionFee, Integer totalFee,
			Integer monthlyRentalFee, Integer commision, Float serviceCharge,
			String feeReferences, Integer salesPerDay, Integer salesPerMonth,
			Integer employeeNumber, Integer personnelExpenses,
			Integer materialCost, Integer netProfitPerMonth,
			Integer seatingCapacity, String peakTime, String operatingHour,
			String operatingMethod, String businessDistrictZoneHistory,
			String salesHistory, String note, Date generatedTimestamp,
			long generatorId, Date updatedTimestamp, Long updatorId)
	{
		this.foundationId = foundationId;
		this.businessType = businessType;
		this.foundationName = foundationName;
		this.address = address;
		this.location = location;
		this.feature = feature;
		this.pyung = pyung;
		this.grossFloor = grossFloor;
		this.floor = floor;
		this.contractType = contractType;
		this.leasePeriod = leasePeriod;
		this.foundingTime = foundingTime;
		this.dealingCause = dealingCause;
		this.leaseDeposit = leaseDeposit;
		this.facilitiesInvestment = facilitiesInvestment;
		this.unionFee = unionFee;
		this.totalFee = totalFee;
		this.monthlyRentalFee = monthlyRentalFee;
		this.commision = commision;
		this.serviceCharge = serviceCharge;
		this.feeReferences = feeReferences;
		this.salesPerDay = salesPerDay;
		this.salesPerMonth = salesPerMonth;
		this.employeeNumber = employeeNumber;
		this.personnelExpenses = personnelExpenses;
		this.materialCost = materialCost;
		this.netProfitPerMonth = netProfitPerMonth;
		this.seatingCapacity = seatingCapacity;
		this.peakTime = peakTime;
		this.operatingHour = operatingHour;
		this.operatingMethod = operatingMethod;
		this.businessDistrictZoneHistory = businessDistrictZoneHistory;
		this.salesHistory = salesHistory;
		this.note = note;
		this.generatedTimestamp = generatedTimestamp;
		this.generatorId = generatorId;
		this.updatedTimestamp = updatedTimestamp;
		this.updatorId = updatorId;
	}

	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "FoundationId", unique = true, nullable = false)
	public Long getFoundationId()
	{
		return this.foundationId;
	}

	public void setFoundationId(long foundationId)
	{
		this.foundationId = foundationId;
	}

	@Column(name = "BusinessType", nullable = false, length = 100)
	public String getBusinessType()
	{
		return this.businessType;
	}

	public void setBusinessType(String businessType)
	{
		this.businessType = businessType;
	}

	@Column(name = "FoundationName", nullable = false, length = 100)
	public String getFoundationName()
	{
		return this.foundationName;
	}

	public void setFoundationName(String foundationName)
	{
		this.foundationName = foundationName;
	}

	@Column(name = "Address", nullable = false, length = 100)
	public String getAddress()
	{
		return this.address;
	}

	public void setAddress(String address)
	{
		this.address = address;
	}

	@Column(name = "Location", length = 100)
	public String getLocation()
	{
		return this.location;
	}

	public void setLocation(String location)
	{
		this.location = location;
	}

	@Column(name = "Feature", length = 200)
	public String getFeature()
	{
		return this.feature;
	}

	public void setFeature(String feature)
	{
		this.feature = feature;
	}

	@Column(name = "Pyung")
	public Integer getPyung()
	{
		return this.pyung;
	}

	public void setPyung(Integer pyung)
	{
		this.pyung = pyung;
	}

	@Column(name = "GrossFloor", length = 50)
	public String getGrossFloor()
	{
		return this.grossFloor;
	}

	public void setGrossFloor(String grossFloor)
	{
		this.grossFloor = grossFloor;
	}

	@Column(name = "Floor", length = 50)
	public String getFloor()
	{
		return this.floor;
	}

	public void setFloor(String floor)
	{
		this.floor = floor;
	}

	@Column(name = "ContractType", length = 50)
	public String getContractType()
	{
		return this.contractType;
	}

	public void setContractType(String contractType)
	{
		this.contractType = contractType;
	}

	@Column(name = "LeasePeriod", length = 50)
	public String getLeasePeriod()
	{
		return this.leasePeriod;
	}

	public void setLeasePeriod(String leasePeriod)
	{
		this.leasePeriod = leasePeriod;
	}

	@Column(name = "FoundingTime", length = 50)
	public String getFoundingTime()
	{
		return this.foundingTime;
	}

	public void setFoundingTime(String foundingTime)
	{
		this.foundingTime = foundingTime;
	}

	@Column(name = "DealingCause", length = 50)
	public String getDealingCause()
	{
		return this.dealingCause;
	}

	public void setDealingCause(String dealingCause)
	{
		this.dealingCause = dealingCause;
	}

	@Column(name = "LeaseDeposit")
	public Integer getLeaseDeposit()
	{
		return this.leaseDeposit;
	}

	public void setLeaseDeposit(Integer leaseDeposit)
	{
		this.leaseDeposit = leaseDeposit;
	}

	@Column(name = "FacilitiesInvestment")
	public Integer getFacilitiesInvestment()
	{
		return this.facilitiesInvestment;
	}

	public void setFacilitiesInvestment(Integer facilitiesInvestment)
	{
		this.facilitiesInvestment = facilitiesInvestment;
	}
	
	@Column(name = "Premium")
	public Integer getPremium()
	{
		return premium;
	}

	public void setPremium(Integer premium)
	{
		this.premium = premium;
	}

	@Column(name = "UnionFee")
	public Integer getUnionFee()
	{
		return this.unionFee;
	}

	public void setUnionFee(Integer unionFee)
	{
		this.unionFee = unionFee;
	}
	
	@Column(name = "SupportFund")
	public Integer getSupportFund()
	{
		return supportFund;
	}

	public void setSupportFund(Integer supportFund)
	{
		this.supportFund = supportFund;
	}

	@Column(name = "TotalFee")
	public Integer getTotalFee()
	{
		return this.totalFee;
	}

	public void setTotalFee(Integer totalFee)
	{
		this.totalFee = totalFee;
	}

	@Column(name = "MonthlyRentalFee")
	public Integer getMonthlyRentalFee()
	{
		return this.monthlyRentalFee;
	}

	public void setMonthlyRentalFee(Integer monthlyRentalFee)
	{
		this.monthlyRentalFee = monthlyRentalFee;
	}

	@Column(name = "Commision")
	public Integer getCommision()
	{
		return this.commision;
	}

	public void setCommision(Integer commision)
	{
		this.commision = commision;
	}

	@Column(name = "ServiceCharge", precision = 12, scale = 0)
	public Float getServiceCharge()
	{
		return this.serviceCharge;
	}

	public void setServiceCharge(Float serviceCharge)
	{
		this.serviceCharge = serviceCharge;
	}

	@Column(name = "FeeReferences", length = 65535)
	public String getFeeReferences()
	{
		return this.feeReferences;
	}

	public void setFeeReferences(String feeReferences)
	{
		this.feeReferences = feeReferences;
	}

	@Column(name = "SalesPerDay")
	public Integer getSalesPerDay()
	{
		return this.salesPerDay;
	}

	public void setSalesPerDay(Integer salesPerDay)
	{
		this.salesPerDay = salesPerDay;
	}

	@Column(name = "SalesPerMonth")
	public Integer getSalesPerMonth()
	{
		return this.salesPerMonth;
	}

	public void setSalesPerMonth(Integer salesPerMonth)
	{
		this.salesPerMonth = salesPerMonth;
	}

	@Column(name = "EmployeeNumber")
	public Integer getEmployeeNumber()
	{
		return this.employeeNumber;
	}

	public void setEmployeeNumber(Integer employeeNumber)
	{
		this.employeeNumber = employeeNumber;
	}

	@Column(name = "PersonnelExpenses")
	public Integer getPersonnelExpenses()
	{
		return this.personnelExpenses;
	}

	public void setPersonnelExpenses(Integer personnelExpenses)
	{
		this.personnelExpenses = personnelExpenses;
	}

	@Column(name = "MaterialCost")
	public Integer getMaterialCost()
	{
		return this.materialCost;
	}

	public void setMaterialCost(Integer materialCost)
	{
		this.materialCost = materialCost;
	}

	@Column(name = "NetProfitPerMonth")
	public Integer getNetProfitPerMonth()
	{
		return this.netProfitPerMonth;
	}

	public void setNetProfitPerMonth(Integer netProfitPerMonth)
	{
		this.netProfitPerMonth = netProfitPerMonth;
	}

	@Column(name = "SeatingCapacity")
	public Integer getSeatingCapacity()
	{
		return this.seatingCapacity;
	}

	public void setSeatingCapacity(Integer seatingCapacity)
	{
		this.seatingCapacity = seatingCapacity;
	}

	@Column(name = "PeakTime", length = 50)
	public String getPeakTime()
	{
		return this.peakTime;
	}

	public void setPeakTime(String peakTime)
	{
		this.peakTime = peakTime;
	}

	@Column(name = "OperatingHour", length = 50)
	public String getOperatingHour()
	{
		return this.operatingHour;
	}

	public void setOperatingHour(String operatingHour)
	{
		this.operatingHour = operatingHour;
	}

	@Column(name = "OperatingMethod", length = 50)
	public String getOperatingMethod()
	{
		return this.operatingMethod;
	}

	public void setOperatingMethod(String operatingMethod)
	{
		this.operatingMethod = operatingMethod;
	}

	@Column(name = "BusinessDistrictZoneHistory", length = 65535)
	public String getBusinessDistrictZoneHistory()
	{
		return this.businessDistrictZoneHistory;
	}

	public void setBusinessDistrictZoneHistory(
			String businessDistrictZoneHistory)
	{
		this.businessDistrictZoneHistory = businessDistrictZoneHistory;
	}

	@Column(name = "SalesHistory", length = 65535)
	public String getSalesHistory()
	{
		return this.salesHistory;
	}

	public void setSalesHistory(String salesHistory)
	{
		this.salesHistory = salesHistory;
	}

	@Column(name = "Note", length = 65535)
	public String getNote()
	{
		return this.note;
	}

	public void setNote(String note)
	{
		this.note = note;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "GeneratedTimestamp", nullable = false, length = 19)
	public Date getGeneratedTimestamp()
	{
		return this.generatedTimestamp;
	}

	public void setGeneratedTimestamp(Date generatedTimestamp)
	{
		this.generatedTimestamp = generatedTimestamp;
	}

	@Column(name = "GeneratorId", nullable = false)
	public long getGeneratorId()
	{
		return this.generatorId;
	}

	public void setGeneratorId(long generatorId)
	{
		this.generatorId = generatorId;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "UpdatedTimestamp", length = 19)
	public Date getUpdatedTimestamp()
	{
		return this.updatedTimestamp;
	}

	public void setUpdatedTimestamp(Date updatedTimestamp)
	{
		this.updatedTimestamp = updatedTimestamp;
	}

	@Column(name = "UpdatorId")
	public Long getUpdatorId()
	{
		return this.updatorId;
	}

	public void setUpdatorId(Long updatorId)
	{
		this.updatorId = updatorId;
	}

}
